package net.docker.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author cxf
 * @create 2019-12-06 10:27
 * @desc
 **/
@Controller
public class HelloAction {

    @RequestMapping("/hello")
    @ResponseBody
    public String hello() {
        return "hello, welcome to system!";
    }
}
